<template>
    <div class="header">
        <span> <slot name="back"></slot> </span>
        <span>{{title}}</span>
        <span> <slot name="ope"></slot> </span>
    </div>
</template>

<script>

export default {
    data(){
        return {

        }
    },
    props:['title']
}
</script>
<style scoped>
.header{
    display: flex;
    justify-content: space-between;
    line-height: 50px;
    padding: 0 20px;
    background-color: #f0f0f0;
}
</style>